<h2>Details of <?php echo $user->username; ?></h2>

<?php if (Yii::app()->user->hasFlash('detailsSaved')) : ?>
<div class="info"><?php echo Yii::app()->user->getFlash('detailsSaved'); ?></div>
<?php Yii::app()->clientScript->registerScript(
   'myHideEffect',
   '$(".info").animate({opacity: 1.0}, 3000).fadeOut("slow");',
   CClientScript::POS_READY
);
?>
<?php endif; ?>
<?php $this->renderPartial('_user',array(
	'user'=>$user,
)); ?>
